package com.zxw.user.api;

import com.zxw.common.core.base.res.BaseRes;
import com.zxw.user.domain.entity.Role;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

public interface RoleAPI {

    @GetMapping("/select/{id}")
    BaseRes<Role> findRoleById(@PathVariable("id") Long id);
}
